home *** CD-ROM | disk | FTP | other *** search
-
-
-
- DUMP User Commands DUMP
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- dump - A program that dumps directories
-
- SSYYNNOOPPSSIISS
- dduummpp [_o_p_t_i_o_n_s] _d_i_r_e_c_t_o_r_y
-
- OOPPTTIIOONNSS
- --aa Reset access times after dumping each file.
-
- --ff _f_i_l_e_n_a_m_e Use _f_i_l_e_n_a_m_e as the name of the dump archive.
-
- --hheellpp Print a help message.
-
- --ii nnuummbbeerr Initialize the tape, using nnuummbbeerr for the
- label.
-
- --ll _d_i_g_i_t The single digit in the range 0-9 specifies
- the dump level. The default is zero.
-
- --mm _u_s_e_r_n_a_m_e Send mail to _u_s_e_r_n_a_m_e to report a fatal
- error, or successful completion.
-
- --rr Re-initialize the tape. Any data on the tape
- is lost.
-
- --ss Safe re-initialization of tape. The reini-
- tialization will fail if the tape has been
- recently used.
-
- --tt Print the dump archive table of contents.
-
- --vv Verbose. The name of each file is listed as
- it is dumped.
-
- --uu Unofficial dump. The dump is not recorded in
- the dumpdates file.
-
- _________________________________________________________________
-
-
- IINNTTRROODDUUCCTTIIOONN
- The dduummpp command is used to do an incremental dump of a set
- of directory. It will recursively dump all files and sub-
- directories. Each file that has been created or modified
- since the last lower level dump will be copied to the
- archive file. For example, the command
-
- dump -l 2 -f /dev/tape0 /sprite
-
- will dump all files in the directory //sspprriittee in tar format,
- to //ddeevv//ttaappee00.
-
-
-
-
- Sprite v.1.0 Printed: December 20, 1991 1
-
-
-
-
-
-
- DUMP User Commands DUMP
-
-
-
- TTAAPPEE FFOORRMMAATT
- Dump tapes have a particular format. It is assumed that
- blocks on the tape cannot be overwritten, so the tape is
- written in an append-only fashion. When a tape is initial-
- ized a file called the tape _l_a_b_e_l is written at the begin-
- ning of the tape. Each time a filesystem is dumped a new
- updated tape label is written to the end of the tape, so
- that the current tape label is always the last one on the
- tape. The tape label is 16 Kbytes in size, and consists of a
- sequence of ASCII strings separated by newlines. The first
- string is of the form
-
- SPRITE DUMP TAPE, Version _v Level _x Tape _n
-
- where _v is the version of dduummpp that wrote the tape, xx is the
- level of the dump tape, and nn is the dump tape number. The
- version is intended to allow future versions of dduummpp to be
- backwards compatible. The level is filled in when the tape
- is initialized, but is otherwise unused. It could be used
- by dduummpp and higher-level software to automate the dumping
- process.
-
- Subsequent lines in the tape label contain a table of con-
- tents for the tape, and are of the form
-
- _T_a_p_e_N_u_m _F_i_l_e_N_u_m _M_B_D_u_m_p_e_d _M_B_L_e_f_t _D_a_t_e _F_i_l_e_S_y_s_t_e_m
-
- where _T_a_p_e_N_u_m is the tape number, _F_i_l_e_N_u_m is the file number
- on tape corresponding to the current entry (starting with
- 1), _M_B_D_u_m_p_e_d is the number of MBytes dumped from the
- filesystem, _M_B_L_e_f_t is the number of MBytes remaining on the
- tape after the filesystem was dumped, _D_a_t_e is the date when
- the filesystem was dumped, and _F_i_l_e_S_y_s_t_e_m is the name of the
- filesystem that was dumped.
-
- FFIILLEESS
- //sspprriittee//aaddmmiinn//dduummpp//dduummppddaatteess
- When a dump completes the information that is written
- into the tape label is also written into this file.
- Each line is of the form
-
- _T_a_p_e_N_u_m _F_i_l_e_N_u_m _M_B_D_u_m_p_e_d _M_B_L_e_f_t _D_a_t_e _F_i_l_e_S_y_s_t_e_m
-
- where _T_a_p_e_N_u_m is the tape number, _F_i_l_e_N_u_m is the file
- number on tape corresponding to the current entry
- (starting with 1), _M_B_D_u_m_p_e_d is the number of MBytes
- dumped from the filesystem, _M_B_L_e_f_t is the number of
- MBytes remaining on the tape after the filesystem was
- dumped, _D_a_t_e is the date when the filesystem was
- dumped, and _F_i_l_e_S_y_s_t_e_m is the name of the filesystem
- that was dumped.
-
-
-
-
- Sprite v.1.0 Printed: December 20, 1991 2
-
-
-
-
-
-
- DUMP User Commands DUMP
-
-
-
- //sspprriittee//aaddmmiinn//dduummpp//dduummpplloogg
- This file contains low-level debugging information that
- is printed out by dduummpp as it runs.
-
- //sspprriittee//aaddmmiinn//dduummpp//ssttaattuusslloogg
- This file contains information about the status of both
- the tape drives and the tapes. A line is added to the
- file each time a dump completes, and is of the form
-
- _D_r_i_v_e_T_y_p_e _S_e_r_i_a_l _T_a_p_e_N_u_m _M_B_D_u_m_p_e_d _E_r_r_o_r_R_a_t_e _D_a_t_e _D_e_v_i_c_e
-
- _D_r_i_v_e_T_y_p_e is the type of drive that was used (e.g.
- EXB-8500). _S_e_r_i_a_l is the serial number of the drive.
- The combination of the drive type and serial number
- should allow tape drives to be uniquely identified.
- _T_a_p_e_N_u_m_b_e_r is the number of the tape that was used.
- _M_B_D_u_m_p_e_d is the number of MBytes that were dumped.
- _E_r_r_o_r_R_a_t_e is the number of errors per tape access,
- expressed as a percentage of tape accesses. An error
- rate of 100% means that there was an average of one
- error per tape access. The definition of an error is
- vendor specific but an increase in the error rate over
- time may indicate that a tape is wearing out or that a
- drive needs servicing. The _D_a_t_e is the date on which
- the dump occurred, and the _D_e_v_i_c_e is the name of the
- device as passed to the dduummpp command. The latter
- should not be considered to uniquely identify a tape
- drive since the mapping between the device name and the
- device can change, thus the drive type and serial
- number should be used to look for an increasing error
- rate on a particular drive.
-
- KKEEYYWWOORRDDSS
- dump, restore, tape, backup, tar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: December 20, 1991 3
-
-
-
-